exploring pseudocode:
talk to your robot like you would talk to a human. The big difference is that you cannot reasonably assume that the robot knows anything, or will interpret your instructions to make sense. For example, if you tell it "go forward" a human will probably not run into the wall, and the robot probably will. You will need to tell the robot how FAR forward to go, how LONG to go forward, to go forward UNTIL a sensor reading reaches a certain value, or perhaps what to do IF it can no longer go forward.
talk to your robot like you would talk to a human. The big difference is that you cannot reasonably assume that the robot knows anything, or will interpret your instructions to make sense. For example, if you tell it "go forward" a human will probably not run into the wall, and the robot probably will. You will need to tell the robot how FAR forward to go, how LONG to go forward, to go forward UNTIL a sensor reading reaches a certain value, or perhaps what to do IF it can no longer go forward.
Ms. Peart's class is webquesting today, Cinco de Mayo. She gave them a starting point:
http://www.zianet.com/cjcox/edutech4learning/cinco.html